home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8737 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.8 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: mackboring@aol.com (MackBoring)
  3. Newsgroups: comp.lang.c
  4. Subject: desperate for help ...please read
  5. Date: 5 Mar 1996 22:09:41 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4hivll$qt1@newsbf02.news.aol.com>
  9. Reply-To: mackboring@aol.com (MackBoring)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. First please read at least this short paragraph.
  13.  Iam a student that is desperately in a hole. I am not wishing to cheat my
  14. self out of an education of C , but...I have a scenario.  I am recently a
  15. new farther (4 week old boy) and have enrolled in this C class and am
  16. trying to pass the class right now so I can strengthen my programming on
  17. my own after it is finished. 
  18.  I have slipped so far behind with my son being born that I need to pass
  19. because I can not finacially pay back my empolyer at terms end...........I
  20. appeal to anyone that has been stuck in a simialr bind
  21. I need to solve these problems in a very simple manner(basic C class)
  22. using simple Loops,Arrays,Functions..... etc
  23.  
  24. P.S If there is some compensation require please drop me a line
  25. .............Thanks in Advance   FRED
  26.  
  27.  
  28. 1. Write a program to determine if a string(array of characters) is a
  29. PALIDROME. A PALINDROME is a phrase that reads the same backwards as
  30. forwards. Ignore(skip over / bypass) any spaces) USE POINTERS !!!
  31.  
  32. 2. Write a program to print out the image of a fir tree. Use typewriter
  33. characters(use of graphics not required).
  34.  
  35. 3. Write a program which asks for the amount of a sale and then aks for
  36. the amount tendered. Print the amount of change given and how it is to be
  37. made using the fewest number of bills/coins. Include programming for
  38. denominations of $20,$10,$5$1 and quarters dimes nickels and pennies.
  39.  
  40. 4. Write a program to compute how much a person would weigh on the
  41. following members of the solar system. Use the following table for
  42. percentages:
  43. Planet                             %of Earth Weight
  44. Earth                                       100
  45. Moon                                        16
  46. Jupiter                                      264
  47. Venus                                       85
  48. Mars                                         38
  49. Create a printed table of weights renaging from 50-250 Lbs in 10 pound
  50. incriments. Place "Weight and Planet Headers" across the top of the page
  51. and print the table with the weights running top to bottom.
  52.  
  53. 5. Create an array of 20 random numbers that fall between 1 and 99. Print
  54. out the array.Then sort the array in ascending sequence. Print out the
  55. sorted array.
  56.  
  57. 6. Write a program to allow you to enter todays date,name and address then
  58. right justify(LINE UP) this data at column 78. example
  59.                                                              John Smith
  60.                                                              ABC
  61. Corporation
  62.                                                              Main Street
  63.                                                             
  64. Anywhere,State 
  65.  
  66. 7.Write aprogram to compute farenheit to celsius temperature. The table
  67. should run from -40 to 220 degrees farenheit in signle degree
  68. intervals.Show farenheit as an integer and celsius as a float. Conversion
  69. formula is..................... C=(5/9)*(F-32)
  70.  
  71. 8. Write a program using a contigous numerical sequence, to print a
  72. listing of all possible arragments of the digits 000  thru 999 three
  73. digits at a time for example 000,001,002....998,999
  74.  
  75. 9. Access the clock display the time on the screen( e.g 14.20.33). Now
  76. translate the time into printed words and display that on screen. Noon and
  77. midnight should be so named .
  78. ************************************* Ifpossible create a  loop(for a set
  79. period of time or until a key is pressed) displaying the time  each time
  80. through the loop. If possible set  an alarm to beep at a given (requested)
  81. time. If you want to show(translate into words) the seconds.
  82.